package com.zzptc.myk.myapplication.service;

import com.zzptc.myk.myapplication.entity.RecipeModel;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface MyService {
    //https://liyuankun.cn/api/v1/recipe/?limit=10

    @GET("api/v1/recipe/")
    Call<RecipeModel>getAll (@Query("limit")int limit);// 有参的 int类型

}
